package com.prs.crm.dao.official.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.official.PersonalMailNumDao;
import com.prs.crm.domain.official.PersonalMailNum;

public class PersonalMailNumDaoImpl extends BaseDaoImpl<PersonalMailNum> implements PersonalMailNumDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<PersonalMailNum> getAllPersonalMailNum() {
		Criteria criteria=this.getSession().createCriteria(PersonalMailNum.class);
		return criteria.list();
	}

}
